import Vue from 'vue'
import { AjaxPlugin } from 'vux'
import FastClick from 'fastclick'
import App from './App'
import router from '@/router'
import store from '@/store'
import Element from 'element-ui'
// import '@/element-ui-theme'
import '@/mock'
import 'element-ui/lib/theme-chalk/index.css'

// import '@/assets/less/index.less'
import '@/assets/scss/index.scss'

FastClick.attach(document.body)
Vue.use(AjaxPlugin)

Vue.config.productionTip = false

// 饿了么
Vue.use(Element, { size: 'medium' })

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app-box')
